/////////////////////////////////////////////
// ObjectARX defined commands

#include "StdAfx.h"
#include "StdArx.h"

//#include "Resource.h"


// This is command 'WINDO'
void windo()
{
	// TODO: Implement the command
	CAcModuleResourceOverride resOverride;

	CWindoMainSht windoSht;

	if(windoSht.DoModal() == IDOK)
	{

		windInfo.m_dWindHt = windoSht.m_specPg.m_dHeight;
		windInfo.m_dWindWt = windoSht.m_specPg.m_dWidth;
		windInfo.m_nCols = windoSht.m_specPg.m_nCols;
		windInfo.m_nRows = windoSht.m_specPg.m_nRows;

		windInfo.m_dXVal = windoSht.m_startPtPg.m_dXVal;
		windInfo.m_dYVal = windoSht.m_startPtPg.m_dYVal;

		windInfo.m_nWindType = windoSht.m_windPg.m_nWindType;

		switch(windInfo.m_nWindType)
		{
			case 0 : // Rect
				AfxMessageBox("Here is where we would have drawn an Rect window.");
			break;

			case 1 : // Arch
				AfxMessageBox("Here is where we would have drawn an Arch window.");
			break;

			case 2 : // Apex
				AfxMessageBox("Here is where we would have drawn an Apex window.");
			break;

		} // switch
	}
}

